<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" %>
    <%@ taglib uri="/struts-tags"  prefix="s"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%request.setCharacterEncoding("utf-8");%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<title>-.-</title>
<link rel="stylesheet" href="../../styles/backstage.css">
<link rel="stylesheet" href="../../scripts/jquery-ui/css/ui-lightness/jquery-ui-1.10.4.custom.css" />
<script src="../../scripts/jquery-ui/js/jquery-1.10.2.js"></script>
<script src="../../scripts/jquery-ui/js/jquery-ui-1.10.4.custom.js"></script>
<script src="../../scripts/jquery-ui/js/jquery-ui-1.10.4.custom.min.js"></script>
<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">  
	<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
	<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>

</head>
<body>
		<table class="table table-striped">
			<caption>权限分配</caption>
			<thead>
				<tr>
					<th>姓名</th>
					<th>权限</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<s:iterator value="#session.roleList" >
					<tr>
						<td><s:property value="roleName"/></td>
						<td>
								<s:iterator value="permission">
								    <input type="button" value="<s:property value="permissionName" />" class="btn"  />
									
								</s:iterator>
						</td>
						<td>
								<input type="button"  href="Manage_findEditById.action?role.objId=<s:property value="objId"/>"  
									data-toggle="modal" data-target="#myModal"   value="编辑" class="btn btn-success"/>
						
						</td>
					</tr>
				</s:iterator>
			</tbody>
		</table>
		
		<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog">
		        <div class="modal-content"> 
		        	
		        </div>
		    </div>
		</div>
		
		
</body>
<script type="text/javascript">
	$('#myModal').on("hide.bs.modal", function(event){
		$(this).removeData("bs.modal");
	});

</script>

</script>
</html>